package socketmvc.server;//import socketmvc.core.ImServer;
import socketmvc.core.config.DefaultSocketMvcConfig;

import java.util.Set;

public class Bootstrap {

    /**
     * 启动程序入口
     */
    public static void main(String[] args) throws Exception {


//
        DefaultSocketMvcConfig defaultXimConfig = new DefaultSocketMvcConfig();
        Set<String> processorScanPackage = defaultXimConfig.getProcessorScanPackage();
        processorScanPackage.add("socketmvc.server.processor");
        SocketServerStarter socketServerStarter = new SocketServerStarter(defaultXimConfig);
        socketServerStarter.start();
    }
}
